CREATE TABLE [dbo].[TMSOLI_CABA]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[NU_SOLI] [dbo].[TD_VC_010] NOT NULL,
[FE_SOLI] [dbo].[TD_DT_001] NULL,
[FE_APRO] [dbo].[TD_DT_001] NULL,
[FE_LIQU] [dbo].[TD_DT_001] NULL,
[CO_MONE] [dbo].[TD_VC_003] NULL,
[FA_TIPO_CAMB] [dbo].[TD_NU_015_006] NOT NULL,
[IM_SOLI] [dbo].[TD_NU_016_004] NULL CONSTRAINT [DF__TMSOLI_CA__IM_SO__361CF0BD] DEFAULT ((0)),
[DE_MOTI] [dbo].[TD_VC_100] NULL,
[TI_ENTI_GENE] [dbo].[TD_VC_001] NULL,
[CO_ENTI_GENE] [dbo].[TD_VC_020] NULL,
[CO_CCOS_GENE] [dbo].[TD_VC_020] NULL,
[TI_ENTI_SOLI] [dbo].[TD_VC_001] NULL,
[CO_ENTI_SOLI] [dbo].[TD_VC_020] NULL,
[CO_CCOS_SOLI] [dbo].[TD_VC_020] NULL,
[TI_ENTI_APRO] [dbo].[TD_VC_001] NULL,
[CO_ENTI_APRO] [dbo].[TD_VC_020] NULL,
[CO_CCOS_APRO] [dbo].[TD_VC_020] NULL,
[DE_GLOS] [dbo].[TD_VC_100] NULL,
[TI_SITU] [dbo].[TD_VC_003] NULL,
[CO_USUA_APRO] [dbo].[TD_VC_008] NULL,
[NU_FAXS_CLIE] [dbo].[TD_VC_020] NULL,
[DE_MAIL_CLIE] [dbo].[TD_VC_100] NULL,
[NO_ATEN] [dbo].[TD_VC_100] NULL,
[CO_CLIE] [dbo].[TD_VC_020] NULL,
[DE_NOMB_ORDE] [dbo].[TD_VC_100] NULL,
[NO_ENTR_DINE] [dbo].[TD_VC_100] NULL,
[FE_VENC] [dbo].[TD_DT_001] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TMSOLI_CA__CO_US__371114F6] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TMSOLI_CA__FE_US__3805392F] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TMSOLI_CA__CO_US__38F95D68] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TMSOLI_CA__FE_US__39ED81A1] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TMSOLI_CABA] ADD CONSTRAINT [PK__TMSOLI_C__CAA1A75577C096E8] PRIMARY KEY CLUSTERED  ([CO_EMPR], [NU_SOLI]) ON [PRIMARY]
GO
